package com.cskaoyan.shopping;

import com.cskaoyan.shopping.dto.PanelDto;
import com.cskaoyan.shopping.service.impl.IMarketServiceImpl;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.Set;

/*
 * @Auther:王贲
 * @Date:2022/9/21
 * @Description:
 * @VERSON:1.8
 */
@RunWith(SpringRunner.class)
@SpringBootTest
public class MarketText {

    @Autowired
    IMarketServiceImpl iMarketService;

    @Test
    public void test1() {
        Set<PanelDto> homepage = iMarketService.homepage();
        System.out.println(homepage);
    }
}
